import { ReactNode } from 'react';


export interface Task {
  id: string;
  taskTitle: string;
  taskGuide: string;
  createdAt: Date;
  category: string;
}

export interface Category {
  id: string;
  name: string;
}

export interface TaskFilterState {
  searchTerm: string;
  selectedCategory: string | null;
}

export interface TaskFormData {
  taskTitle: string;
  taskGuide: string;
  category: string;
}

export interface CategoryFormData {
  name: string;
}

export interface ModalProps {
  isOpen: boolean;
  onClose: () => void;
  title: string;
  children: ReactNode;
} 